(function ($,W) {

    var Validator = function(){};

    Validator.prototype.isNumOrAlp=function (data) {
        var reg = new RegExp("^[a-zA-Z_0-9]+$");
        return reg.test(data);
    };

    W.Validator = new Validator();
})(Window.jQuery, window);